Fix parsing of some css properties
authorMatthias Clasen <mclasen@redhat.com>
Sun, 3 Jul 2016 21:54:19 +0000 (17:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 3 Jul 2016 21:54:19 +0000 (17:54 -0400)
commit3c4be3c9127a2880519bc85ae910f7656dfada12
tree34db693e6e755fbf6298ea15170ede3c45c2ae58
parent34986231f48704d13c9c97b347818346baf9b9cd
Fix parsing of some css properties

Our property parser stops at the first match when looking for
enums, so we need to order our values so that we don't end up
with prefixes of longer names being found first.

I noticed this when the parser tried to interpret
background-blend-mode: color-burn; as "color, with junk at the end".

It also affects animation-direction, which is also fixed here.
gtk/gtkcssenumvalue.c